//
//  AppDelegate.m
//  iOSInterview
//
//  Created by macbook on 2025/5/29.
//

#import "AppDelegate.h"
#import "ViewController.h"
#import <Adjust/Adjust.h>

@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    // Override point for customization after application launch.

    self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
    self.window.backgroundColor = [UIColor whiteColor];
    self.window.rootViewController = [[ViewController alloc] init];
    [self.window makeKeyAndVisible];
    
    NSString *yourAppToken = @"{yourAppToken}";
    NSString *environment = ADJEnvironmentSandbox;
    ADJConfig *myAdjustConfig = [ADJConfig configWithAppToken:yourAppToken
                                      environment:environment];
    [myAdjustConfig setLogLevel:ADJLogLevelVerbose];
    [Adjust appDidLaunch:myAdjustConfig];

    return YES;
}

@end
